using System.ComponentModel.DataAnnotations;
using GamFi.API.Domain.Common;

namespace GamFi.API.Domain.Entities;

public class Chain : BaseEntity
{
    /// <summary>
    /// Название чейна
    /// </summary>
    [MaxLength(50)]
    public string Name { get; set; } = default!;
    
    /// <summary>
    /// ИД картинки
    /// </summary>
    public Guid? ImageId { get; set; }

    /// <summary>
    /// nav-prop
    /// </summary>
    public Image? Image { get; set; }

    /// <summary>
    /// Токены
    /// </summary>
    public ICollection<Token>? Tokens { get; set; }
}